home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2003 March / DPPCPRO0303.ISO / Components / Microsoft ASP / _SETUP.1 / ASPWizard.jar / asp / wizard / WizardModelSub.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-11-20  |  1.3 KB  |  30 lines

  1. package asp.wizard;
  2.  
  3. import asp.netobjects.nfx.util.ExceptionHandler;
  4. import asp.netobjects.nfx.util.ExternalError;
  5. import asp.netobjects.nfx.util.InternalError;
  6. import asp.netobjects.nfx.wizard.Wizard;
  7. import asp.netobjects.nfx.wizard.WizardPage;
  8. import com.sun.java.swing.ImageIcon;
  9.  
  10. public class WizardModelSub extends WizardModelAbstract {
  11.    public WizardModelSub() {
  12.       super((Wizard)null, (String)null, (String)null, (ImageIcon)null, (ExceptionHandler)null);
  13.    }
  14.  
  15.    public WizardModelSub(Wizard wizard, String bullet, String info, ImageIcon icon, ExceptionHandler handler) {
  16.       super(wizard, bullet, info, icon, handler);
  17.    }
  18.  
  19.    protected WizardManager getWizardManager() {
  20.       return null;
  21.    }
  22.  
  23.    public void initialize(int direction) throws InternalError, ExternalError {
  24.       if (direction == 1 && ((WizardPage)this).getView() != null) {
  25.          ((WizardPage)this).getView().setModel(this);
  26.       }
  27.  
  28.    }
  29. }
  30.